package com.kedacom.ctsp.authz.oauth2;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * oauth2配置类
 *
 * @author xuwei
 * @create 2018-05-13 18:36
 **/
@ConfigurationProperties(prefix = "commons.oauth2.server")
@Data
public class OAuth2ServerProperties {

    private Integer tokenExpireSeconds = 60 * 10;

    private Integer refreshTokenExpireSeconds = 1 * 365 * 24 * 60 * 60;

    private Integer accessTokenExpireSeconds = 24 * 60 * 60;
}
